/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.config.console.configuration;

/**
 * 控制台配置中心属性配置
 *
 * @author ebert_chan
 */
public class ConsoleConfigProperties {

    private String serverAddr;

    private boolean skipFailure = false;

    private int configMaxRety = 3;

    private int configRetyTime = 500;

    private int connectTimeout = 1000;

    private int readTimeout = 2000;

    public String getServerAddr() {
        return serverAddr;
    }

    public void setServerAddr(String serverAddr) {
        this.serverAddr = serverAddr;
    }

    public boolean isSkipFailure() {
        return skipFailure;
    }

    public void setSkipFailure(boolean skipFailure) {
        this.skipFailure = skipFailure;
    }

    public int getConfigMaxRety() {
        return configMaxRety;
    }

    public void setConfigMaxRety(int configMaxRety) {
        this.configMaxRety = configMaxRety;
    }

    public int getConfigRetyTime() {
        return configRetyTime;
    }

    public void setConfigRetyTime(int configRetyTime) {
        this.configRetyTime = configRetyTime;
    }

    public int getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(int connectTimeout) {
        this.connectTimeout = connectTimeout;
    }

    public int getReadTimeout() {
        return readTimeout;
    }

    public void setReadTimeout(int readTimeout) {
        this.readTimeout = readTimeout;
    }

}
